package com.mingmen.supplier.model;

import java.util.List;

public class CityModel {


    /**
     * code : 0
     * count : 1
     * currentPage : 1
     * data : [{"markets":[{"id":"4","name":"人和革新市场(果戈里大街)"},{"id":"9","name":"大成街农贸市场"},{"id":"11","name":"浩瀚农贸市场"},{"id":"13","name":"哈达果菜批发市场"},{"id":"20","name":"闽江市场"},{"id":"22","name":"王岗农贸市场"},{"id":"25","name":"南岗邮政街市场"},{"id":"32","name":"地下农贸市场"}],"region":"南岗区"},{"markets":[{"id":"2","name":"红旗综合市场"},{"id":"3","name":"南极市场"},{"id":"6","name":"福和菜市场"},{"id":"10","name":"景阳街餐厨市场"},{"id":"15","name":"福宏干调批发市场"},{"id":"21","name":"老北三农贸菜市场"},{"id":"29","name":"龙云农贸综合市场"},{"id":"33","name":"新江桥大市场"}],"region":"道外区"}]
     * message : 操作成功
     * time : 2020-10-10 17:12:22
     * totalPage : 1
     */

    private int code;
    private int count;
    private int currentPage;
    private String message;
    private String time;
    private int totalPage;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * markets : [{"id":"4","name":"人和革新市场(果戈里大街)"},{"id":"9","name":"大成街农贸市场"},{"id":"11","name":"浩瀚农贸市场"},{"id":"13","name":"哈达果菜批发市场"},{"id":"20","name":"闽江市场"},{"id":"22","name":"王岗农贸市场"},{"id":"25","name":"南岗邮政街市场"},{"id":"32","name":"地下农贸市场"}]
         * region : 南岗区
         */

        private String region;
        private List<MarketsBean> markets;

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public List<MarketsBean> getMarkets() {
            return markets;
        }

        public void setMarkets(List<MarketsBean> markets) {
            this.markets = markets;
        }

        public static class MarketsBean {
            /**
             * id : 4
             * name : 人和革新市场(果戈里大街)
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
